<?php
/**
 * Description of Car
 *
 * @author Stefano
 */
require_once 'interfaces/ICar.php';

/**
 * 
 */
class ACar implements ICar {
    
    /**
     * array of IPerson
     * @var APerson
     */
    protected $passengers;
    
    function __construct($model) {
        $this->model = $model;
    }
    
    /**
     * array of IPerson
     * @return array 
     */
    public function getPassengers() {
        return $this->passengers;
    }

    /**
     * array of IPerson
     * @param array $passengers 
     */
    public function setPassengers($passengers) {
        $this->passengers = $passengers;
    }


}

?>
